To add sounds and collisions to sprites
1. Select the sprite.
2. Choose Project/Sprite Properties.
3. The "Sprite Properties" dialog box opens. Click on the "Sound & Collisions" tab.
4. Specify in the area "Object Collision Level" the Collision level of this sprite.
5. In Collision with another object group:
If you activate the Change path button, the object's path changes after a collision.
If you activate the Keep path button, the object keep the same path after the collision.
6. In Collision Sounds group:
In the Between object area, enter here the full path to a WAV sound file that will be played each time the sprite collide with another sprite. Only WAV sound files are supported for collision sounds. To be more realistic, we recommend you to use short sound files.
In the Screen (Left + Right) area, enter here the full path to a WAV sound file that will be played each time the sprite collide with the left or right borders of the screen. Only WAV sound files are supported for collision sounds.
In the Screen (Top + Bottom) area, enter here the full path to a WAV sound file that will be played each time the sprite collide with the top or bottom borders of the screen. Only WAV sound files are supported for collision sounds. To be more realistic, we recommend you to use short sound files.
7. Repeat theses operations with another sprites.
Notes
Two sprites must have the same level to collide. Choose level 0 if you don't want this sprite to collide with other sprites.
When 2 sprites with different sounds collide, the sound of the biggest sprite is played.